/* pages/order-confirm/order-confirm.wxss */
.order-confirm-container {
    padding: 26rpx;
    padding-bottom: 300rpx;

    .bg-radius {
        background-color: #fff;
        border-radius: 18rpx;
        padding: 26rpx;
        margin-bottom: 20rpx;
    }

    .shop-info-wrapper {
        .address-box {
            margin-bottom: 20rpx;
            .address-name {
                font-size: 38rpx;
                color: #000;
                font-weight: bold;
                max-width: 400rpx;
            }
            .iconfont {
                color: #000;
                font-size: 30rpx;
                font-weight: bold;
                margin-left: 2rpx;
            }
            .address-distance {
                font-size: 28rpx;
                color: #222;
            }
        }
        .type-box {
            .type-item {
                border: 4rpx solid #c3c3c3;
                border-radius: 10rpx;
                padding: 18rpx 20rpx;
                overflow: hidden;
                position: relative;
                &:first-child {
                    margin-right: 16rpx;
                }
                .img {
                    width: 70rpx;
                    height: 70rpx;
                    border-radius: 10rpx;
                }
                .type-content {
                    margin-left: 20rpx;
                    font-size: 26rpx;
                    font-weight: bold;
                    text {
                        &:last-child {
                            font-size: 20rpx;
                            color: #898989;
                            font-weight: normal;
                        }
                    }
                }
                .type-checked {
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 30rpx;
                    height: 30rpx;
                    line-height: 24rpx;
                    background-color: inherit;
                    text-align: center;
                    .iconfont {
                        color: #fff;
                        font-weight: bold;
                    }
                }
                &.is-checked {
                    border: 4rpx solid var(--primary-color);
                    .type-checked {
                        background-color: var(--primary-color);
                    }
                }
            }
        }

        .take-box {
            border-top: var(--basic-border);
            padding-top: 20rpx;
            font-size: 28rpx;
            .take-shop {
                color: #999;
                margin-right: 10rpx;
            }
            .take-rider {
                color: var(--primary-color);
            }
        }
    }

    .oreder-goods-wrapper {
        .order-title {
            font-size: 36rpx;
            font-weight: bold;
            padding-bottom: 20rpx;
            border-bottom: var(--basic-border);
        }
        .goods-item {
            padding: 20rpx 0;
            .goods-item-img {
                width: 100rpx;
                height: 80rpx;
            }
            .goods-item-content {
                margin: 0 16rpx;
                text {
                    display: block;
                }
                .item-name {
                    font-size: 28rpx;
                    color: #222;
                    font-weight: bold;
                }
                .item-unit {
                    font-size: 20rpx;
                    color: #999;
                }
                .item-num {
                    font-size: 26rpx;
                }
            }
            .goods-item-price {
                margin-left: auto;
                text-align: right;
                .sale-price {
                    color: #222;
                    // align-items: flex-end;
                    .sale-price-symbol {
                        font-size: 20rpx;
                        line-height: 24rpx;
                    }
                    .sale-price-value {
                        font-weight: bold;
                        font-size: 30rpx;
                        line-height: 28rpx;
                    }
                }
                .original-price {
                    color: #999;
                    text-decoration: line-through;
                    font-size: 22rpx;
                }
            }
        }
    }

    .other-wraper {
        border-radius: 18rpx;
        overflow: hidden;
    }
    .submit-wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 100;
        box-shadow: 0 0 0.3rem #e8e8e8;
        .submit-box {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            font-size: 28rpx;
            padding: 30rpx;
            padding-bottom: env(safe-area-inset-bottom);
        }
        .submit-text {
            text-align: right;
            margin-right: 20rpx;
            .submit-text-total {
                .total-title {
                    font-size: 22rpx;
                    font-weight: bold;
                }
                .total-price {
                    font-size: 40rpx;
                    font-weight: bold;
                }
            }
            .num-info {
                color: var(--primary-color);
                font-size: 22rpx;
                margin-bottom: 10rpx;
                font-weight: bold;
            }
        }
        
    }
    
    .remark-popup-wrapper {
        margin: 0 30rpx;
        .textarea-view {
            padding: 20rpx;
            background-color: #f9f9f9;
            border-radius: 10rpx;
            margin-bottom: 100rpx;
        }
        .textarea {
            width: 100%;
        }
    }
}


.blink-animation {
    animation: scaleAnimation 1s;
}

@keyframes scaleAnimation {
    0%, 100% {
        // 初始与结束状态时，都是原始大小
        transform: scale(1);
    }
    25% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(0.9);
    }
}